package cn.easybuy.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import cn.easybuy.entity.User;
@Repository
public interface UserMapper {
	public int addUser(User u);
	public int updateUser(User u);
	public int deleteUser(Integer id);
	public List<User> getUserList(@Param("currentPageNo")Integer currentPageNo,@Param("pageSize")Integer pageSize);
	public int getUserCount();
	public User getUserById_Name(@Param("id")Integer id,@Param("loginName")String loginName);
}
